package com.ctsi.djcloudmqtt.io;

import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface IwrkjServer {

    /**
     * 一键起飞
     * @param sn
     * @param info
     * @return
     */
    @POST("/shelter/control/v1.4/{sn}/takeoff-to-point")
    Call<ResponseBody> takeoff2point(@Path("sn") String sn,@Body RequestBody info);

    /**
     * 开启/关闭无人机视频车牌ai识别
     * @return
     */
    @POST("/ctuav/mapper/uavAiAbility/changeAiStatus")
    Call<ResponseBody> changeAiStatus(@Body RequestBody info);

    /**
     * 开启/关闭无人机视频车牌ai识别
     * @return
     */
    @GET("/ctuav/mapper/uavAiAbility/queryPlateInfo/{recordId}")
    Call<ResponseBody> queryPlateInfo(@Path("recordId") Long recordId);

}
